package com.indexingsystem.boss.Vo;

import java.io.Serializable;
import java.util.Date;

public class ApplicationsVo implements Serializable {


	/**
     * 
     */
    private static final long serialVersionUID = -6847455251111222546L;

    private String appId;

	private String appName;

	private String appKey;

	private String appSecret;

	private String appImage;

	private String appUri;

	private String appIp;

	private String scope;

	private Integer appType;

	private Integer authType;

	private String responseType;

	private String grantType;

	private Integer status;

	private Date createDate;

	private String createUserId;

	private Date lastUpdatedDate;

	private String lastUpdatedUserId;

	private String appSummary;
	
	private String target;	
	
    private String institutionId;
    
    private String relationsId;
    
    private String parentId;	
	
	public String getTarget() {
		return target;
	}

	public void setTarget(String target) {
		this.target = target;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId == null ? null : appId.trim();
	}

	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName == null ? null : appName.trim();
	}

	public String getAppKey() {
		return appKey;
	}

	public void setAppKey(String appKey) {
		this.appKey = appKey == null ? null : appKey.trim();
	}

	public String getAppSecret() {
		return appSecret;
	}

	public void setAppSecret(String appSecret) {
		this.appSecret = appSecret == null ? null : appSecret.trim();
	}

	public String getAppImage() {
		return appImage;
	}

	public void setAppImage(String appImage) {
		this.appImage = appImage == null ? null : appImage.trim();
	}

	public String getAppUri() {
		return appUri;
	}

	public void setAppUri(String appUri) {
		this.appUri = appUri == null ? null : appUri.trim();
	}

	public String getAppIp() {
		return appIp;
	}

	public void setAppIp(String appIp) {
		this.appIp = appIp == null ? null : appIp.trim();
	}

	public String getScope() {
		return scope;
	}

	public void setScope(String scope) {
		this.scope = scope == null ? null : scope.trim();
	}

	public Integer getAppType() {
		return appType;
	}

	public void setAppType(Integer appType) {
		this.appType = appType;
	}

	public Integer getAuthType() {
		return authType;
	}

	public void setAuthType(Integer authType) {
		this.authType = authType;
	}

	public String getResponseType() {
		return responseType;
	}

	public void setResponseType(String responseType) {
		this.responseType = responseType == null ? null : responseType.trim();
	}

	public String getGrantType() {
		return grantType;
	}

	public void setGrantType(String grantType) {
		this.grantType = grantType == null ? null : grantType.trim();
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId == null ? null : createUserId.trim();
	}

	public Date getLastUpdatedDate() {
		return lastUpdatedDate;
	}

	public void setLastUpdatedDate(Date lastUpdatedDate) {
		this.lastUpdatedDate = lastUpdatedDate;
	}

	public String getLastUpdatedUserId() {
		return lastUpdatedUserId;
	}

	public void setLastUpdatedUserId(String lastUpdatedUserId) {
		this.lastUpdatedUserId = lastUpdatedUserId == null ? null : lastUpdatedUserId.trim();
	}

	public String getAppSummary() {
		return appSummary;
	}

	public void setAppSummary(String appSummary) {
		this.appSummary = appSummary == null ? null : appSummary.trim();
	}

	public String getInstitutionId()
    {
        return institutionId;
    }

    public void setInstitutionId(String institutionId)
    {
        this.institutionId = institutionId;
    }   

    public String getRelationsId()
    {
        return relationsId;
    }

    public void setRelationsId(String relationsId)
    {
        this.relationsId = relationsId;
    }

    public String getParentId()
    {
        return parentId;
    }

    public void setParentId(String parentId)
    {
        this.parentId = parentId;
    }

    public ApplicationsVo()
    {
        super();
    }

    public ApplicationsVo(String appId, String appName, String appKey, String appSecret,
                          String appImage, String appUri, String appIp, String scope,
                          Integer appType, Integer authType, String responseType,
                          String grantType, Integer status, Date createDate, String createUserId,
                          Date lastUpdatedDate, String lastUpdatedUserId, String appSummary,
                          String target, String institutionId, String relationsId, String parentId)
    {
        super();
        this.appId = appId;
        this.appName = appName;
        this.appKey = appKey;
        this.appSecret = appSecret;
        this.appImage = appImage;
        this.appUri = appUri;
        this.appIp = appIp;
        this.scope = scope;
        this.appType = appType;
        this.authType = authType;
        this.responseType = responseType;
        this.grantType = grantType;
        this.status = status;
        this.createDate = createDate;
        this.createUserId = createUserId;
        this.lastUpdatedDate = lastUpdatedDate;
        this.lastUpdatedUserId = lastUpdatedUserId;
        this.appSummary = appSummary;
        this.target = target;
        this.institutionId = institutionId;
        this.relationsId = relationsId;
        this.parentId = parentId;
    }

    @Override
    public String toString()
    {
        return "ApplicationsVo [appId=" + appId + ", appName=" + appName + ", appKey=" + appKey
               + ", appSecret=" + appSecret + ", appImage=" + appImage + ", appUri=" + appUri
               + ", appIp=" + appIp + ", scope=" + scope + ", appType=" + appType + ", authType="
               + authType + ", responseType=" + responseType + ", grantType=" + grantType
               + ", status=" + status + ", createDate=" + createDate + ", createUserId="
               + createUserId + ", lastUpdatedDate=" + lastUpdatedDate + ", lastUpdatedUserId="
               + lastUpdatedUserId + ", appSummary=" + appSummary + ", target=" + target
               + ", institutionId=" + institutionId + ", relationsId=" + relationsId
               + ", parentId=" + parentId + "]";
    }
}